import Router from 'vue-router'
import Vue from '../vue'
import App from '../component/app/app.vue'
import GuoxinList from '../component/activity/guoxin/guoxin-list/guoxin-list.vue'
import GuoxinInviteList from '../component/activity/guoxin/invite-list/invite-list.vue'

Vue.use(Router)

var app = Vue.extend(App)
var router = new Router()

router.map({
  '/': {
    component: GuoxinList
  },
  '/invite/:phone': {
    component: GuoxinInviteList
  }
})

router.start(app, 'app')
